<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    <div id="app">
        <div v-for="(row ,index) in list">{{ row }}</div>
        <button @click="change">切换</button>
    </div>
    <script src="https://unpkg.com/vue@next"></script>
    <script>
        var app = Vue.createApp({
            data:  function(){
                return {
                    list : []
                }
            }, 
            methods : {
                change: function (){
                    let _this = this
                    _this.list[5] = 55
                }
            },
            created (){
                let _this = this
                for(var i=1; i<10; i++){
                    _this.list.push(i)
                }
            }
        })
        app.mount('#app')
    </script>
</body>
</html>